package com.bgs.service.impl;

import com.bgs.common.R;
import com.bgs.pojo.RolesMenus;
import com.bgs.mapper.RolesMenusMapper;
import com.bgs.service.RolesMenusService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * roles_menus 服务实现类
 * </p>
 *
 * @author Asia
 * @since 2021-09-14
 */
@Service
public class RolesMenusServiceImpl extends ServiceImpl<RolesMenusMapper, RolesMenus> implements RolesMenusService {
    @Resource
    private RolesMenusMapper rolesMenusMapper;
    @Override
    public R UserRole(RolesMenus addUserRoleUser) {
        Boolean I= rolesMenusMapper.UserRole(addUserRoleUser);
        return R.ok().data("data",I);
    }
}
